package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.button.NxButton;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.text.NxLabel;

	/**
	 * 副本战斗结算UI 
	 * @author liuel
	 * 
	 */	
	public class ActionEctypeResultUI extends BaseUI
	{
		private static var _self:ActionEctypeResultUI
		/**攻击分评分**/
		public var text1     :NxLabel;
		/**天神降临**/
		public var text2     :NxLabel;
		/**防御评分**/
		public var text3     :NxLabel;
		/**总分**/
		public var text4     :NxLabel;
		/**攻击动画**/
		public var attack    :MovieClip;
		/**防御动画**/
		public var defense   :MovieClip;
		
		public var back      :MovieClip;
		public var floor3    :MovieClip;
		//底框
		public var level     :MovieClip;
		/**宝箱**/
		public var bossBox   :MovieClip;
		/**打开的宝箱**/
		public var openBox   :MovieClip;
		/**队伍信息**/
		public var teamGroup :NxViewGroup;
		/**物品信息**/
		public var bootyGroup:NxViewGroup;
		public var star      :NxViewGroup;
		/**再次挑战按钮**/
		public var btn1      :NxButton;
		/**离开按钮**/
		public var btn2      :NxButton;

		public var guideMc	   :MovieClip;
		public static function getInstance():ActionEctypeResultUI
		{
			if(_self == null)
			{
				_self = new ActionEctypeResultUI();
			}
			return _self;
		}
		public function ActionEctypeResultUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		override public function  Init():void
		{
			
			windowBG.closeBtnVisible = false;
			
			ActionEctypeResultLogic.getInstance().Init();
			
		}
		
		override protected function	BeforeShow():void
		{
			super.BeforeShow();
			
			ActionEctypeResultLogic.getInstance().BeforeShow();
		}
		override protected function	AfterHide():void
		{
			ActionEctypeResultLogic.getInstance().AfterHide();
		}
		
	}
}